<?php
require (substr(dirname(__FILE__), 0, - 3) . 'include/connect.php');
if (! defined('InTBak')) {
    exit();
}
@require ('config.php');
require (TBAK_PATH . 'include/db_sql.php');
require (TBAK_PATH . 'include/functions.php');
require TBAK_PATH . LoadLang('f.php');
$editor = 2;
$lur = islogin();
$loginin = $lur['username'];
$rnd = $lur['rnd'];
$link = db_connect();
$dblink = new mysqlquery();
$mydbname = RepPostVar($_GET['mydbname']);
$mypath = $_GET['mypath'];
if (empty($mydbname) || empty($mypath)) {
    printerror("ErrorUrl", "history.go(-1)");
}
// 编码
DoSetDbChar($b_dbchar);
$usql = $dblink->query("use `$mydbname`");